package com.lkx.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.lkx.dao.WxMsgMapper;
import com.lkx.domain.WxMsgDO;
import com.lkx.service.WxMsgService;

@Service(value="wxMsgService")
public class WxMsgServiceImpl implements WxMsgService {
	@Autowired
	private WxMsgMapper wxMsgMapper;
	
	@Override
	public WxMsgDO get(Long id){
		return wxMsgMapper.get(id);
	}
	
	@Override
	public List<WxMsgDO> list(Map<String, Object> map){
		return wxMsgMapper.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return wxMsgMapper.count(map);
	}
	
	@Override
	public int save(WxMsgDO wxMsg){
		return wxMsgMapper.save(wxMsg);
	}
	
	@Override
	public int update(WxMsgDO wxMsg){
		return wxMsgMapper.update(wxMsg);
	}
	
	@Override
	public int remove(Long id){
		return wxMsgMapper.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return wxMsgMapper.batchRemove(ids);
	}
	
}
